Hybridauth\Adapter\OAuth2 S

Total Complexity 46
Dependencies 11
Dependents 0
Total lines 714
Lines of code 202
Logical lines of code 101
Comment lines 389
Methods 15
Properties 21

Methods 15

Method Rating Maintainability Complexity Lines of code
configure()
S
58 6 15
authenticate()
S
55 5 19
authenticateFinish()
S
54 5 19
validateAccessTokenExchange()
S
54 4 22
apiRequest()
S
54 4 20
getAuthorizeUrl()
S
57 4 16
refreshAccessToken()
S
58 3 17
authenticateCheckError()
S
61 3 12
initialize()
S
53 2 24
isConnected()
S
70 3 6
hasAccessTokenExpired()
S
65 3 10
exchangeCodeForAccessToken()
S
64 1 11
isRefreshTokenAvailable()
S
80 1 3
authenticateBegin()
S
71 1 5
validateRefreshAccessToken()
S
80 1 3